# coding = utf-8
from django.urls import path
from rest_framework.routers import DefaultRouter
from .views import GradeListAPIView, InvestigationListAPIView, QuestionListAPIView, InvestResultViewSet

router = DefaultRouter()
router.register(r'result', InvestResultViewSet, basename="result")


urlpatterns = [
    path('grade/', GradeListAPIView.as_view(), name="grade-list"),
    path('invest/', InvestigationListAPIView.as_view(), name="invest-list"),
    path('question/', QuestionListAPIView.as_view(), name="question-list"),
]

urlpatterns += router.urls